//
//  DeviceManager.h
//  KingSelected
//
//  Created by 杨鹏 on 2023/10/27.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

#define kHeightForTabbar [DeviceManager heightForTabbar]
#define kHeightForTabbarExtra [DeviceManager heightForTabbarExtra]
#define kHeightForNaigation [DeviceManager heightForNaigation]
#define kHeightForStatusBar [DeviceManager heightForStatusBar]
#define kHeightForScreen [DeviceManager heightForScreen]
#define kWidthForScreen [DeviceManager widthForScreen]
#define IS_IPAD [UIDevice currentDevice].userInterfaceIdiom == UIUserInterfaceIdiomPad

@interface DeviceManager : NSObject

+ (CGFloat)heightForTabbar;
+ (CGFloat)heightForTabbarExtra;
+ (CGFloat)heightForNaigation;
+ (CGFloat)heightForStatusBar;
+ (CGFloat)heightForScreen;
+ (CGFloat)widthForScreen;

+ (NSString *)appVersion;

@end

NS_ASSUME_NONNULL_END
